#include "Arena.h"


Arena::Arena(Vector2D &tR,Vector2D &bL):DrawableObject()	
{
	_englobant = new GameRectangle(tR,bL);
	_invalidEnglobant = false;
}
Arena::Arena(GameRectangle &rec):DrawableObject()
{
	_englobant = new GameRectangle(rec);
}
void Arena::Paint(wxDC &dc)
{
	DrawableObject::Paint(dc);
	Vector2D centre(_englobant->GetCentre());
	dc.DrawRectangle(_englobant->BL.X,_englobant->BL.Y,_englobant->TR.X-_englobant->BL.X,_englobant->TR.Y-_englobant->BL.Y);
	dc.DrawCircle(centre.X,centre.Y,100);
	dc.DrawLine(_englobant->BL.X,centre.Y,_englobant->TR.X,centre.Y);
	dc.DrawCircle(centre.X,centre.Y,5);
}
Arena::~Arena()
{
}
